Create Run Property
Creates a new run property for the specified project.
Headers
| Header | Value |
|---|---|
user_id | Login username (email) |
api_key | API key of the user for authentication |
Content-Type | application/json |
Accept | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
accelqLoginUrl | string | Yes | The AccelQ login URL for API access. |
tenantCode | string | Yes | Tenant code for identifying the organization. |
projectCode | string | Yes | Project Code found under Auth properties of ACCELQ User Profile |
user_id | string | Yes | Login username (email) |
api_key | string | Yes | API key of the user for authentication |
Request Body
json
{
"name": "New Run Property"
}
Responses
201 - Run Property successfully created.
json
{
"pid": 15754,
"name": "New Run Property",
"createdUser": 2,
"createdTimestamp": 1730801799833,
"lastModifiedUser": 2,
"lastModifiedTimestamp": 1730801799833
}
400 - Bad Request. Validation errors occurred.
json
{
"error": "Run Property name is required."
}
403 - Forbidden - User does not have permission to create Run Property.
json
{
"error": "User do not have authorization to access this feature."
}
422 - Project not found.
json
{
"error": "Project with code 'proj123' not found."
}
cURL Command Builder
URL Parameters
Headers
Request Sample (cURL)
curl -X POST "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/res/run-property" \
-H "user_id: ${{user_id}}" \
-H "api_key: ${{api_key}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Run Property"
}'